package com.project.zsxd.server.clocksleep.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.project.zsxd.server.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 睡眠打卡表
 * </p>
 *
 * @author kaler
 * @since 2020-09-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_clock_sleep")
public class ClockSleep extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @TableId(value = "sleep_id", type = IdType.AUTO)
    private Integer sleepId;
    /**
     * 用户
     */
    private String userName;

    /**
     * 打卡日期
     */
    private String sleepDate;
    /**
     * 打卡时间
     */
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date sleepTime;
    /**
     * 起床时间
     */
    private Date wakeupTime;
    /**
     * 状态
     */
    private String status;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新人
     */
    private String updatedBy;
    /**
     * 更新时间
     */
    private Date updatedTime;


}
